#include <QCoreApplication>

#include <iostream>
#include <QDebug>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    std::cout<<"Hello"<<std::endl;
    qInfo()<<"Hello";

    int age = 43;
    std::cout<<age;
//    endl	Insert newline and flush (刷新缓存区并插入换行符)
//    ends	Insert null character (插入空字符)
//    flush	Flush stream buffer (刷新流缓存区)
    std::cout<<std::endl;
    std::cout<<std::flush;

    return a.exec();
}
